<?php
	require_once("c:/wamp/www/bizbuddy.com/site/class/utility.php");
	$cats = utility::getCats();
?>
<table id="category">
    <tbody>        
		<?php
            foreach($cats as $cat)
            {
        ?>
            <tr>
                <td><input type="checkbox" name="cats[]" onclick="chooseCats();" value="<?php echo $cat['id'];?>"/></td>
                <td><?php echo $cat['name'];?></td>
	        </tr>
		<?php
            }
        ?>
    </tbody>
</table>
<script type="text/javascript">
	checkCats();
</script>